package cn.hxlc.tie.demo.modular.material.model.param;

import cn.hxlc.tie.model.validator.BaseValidatingParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel
public class MaPackEntryParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("")
    private Long fid;

    @ApiModelProperty("主表ID")
    private Long fparentid;

    @ApiModelProperty("包材ID")
    private Long fmaterialid;

    @ApiModelProperty("计量单位")
    private Long funitid;
    private String funitname;

    @ApiModelProperty("最小包装物 ")
    private boolean fisminimum;

    @ApiModelProperty("数量")
    private BigDecimal fqty;

    @ApiModelProperty("标签类型ID")
    private Long ftagtypeid;

    @ApiModelProperty("描述")
    private String fdescription;

    @Override
    public String checkParam() {
        return null;
    }

}
